package com.course.domain.dao;

import com.course.domain.model.LearnRecord;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by Justin on 2017/7/1.
 */
public interface LearnRecordDao extends JpaRepository<LearnRecord, Integer> {

    List<LearnRecord> findByStudentIdAndCourseId(int studentId, int courseId);
}
